package com.ff.sms.engine.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 大汉三通配置
 */
@Component
@Configuration
@Getter
@Setter
public class Dh3tConfig {

    @Value("${dh3t.account}")
    private String account;

    @Value("${dh3t.password}")
    private String password;

    @Value("${dh3t.sign}")
    private String sign;

    @Value("${dh3t.subcode}")
    private String subcode;

    //获取短信余额
    @Value("${dh3t.sms.balanceUrl}")
    private String balanceUrl;

    //生成短地址
    @Value("${dh3t.sms.shortUrl}")
    private String shortUrl;

    //发送一条或者多条内容相同的短信
    @Value("${dh3t.sms.smsSubmitUrl}")
    private String smsSubmitUrl;

    //批量发送不同内容短信
    @Value("${dh3t.sms.batchSubmitUrl}")
    private String batchSubmitUrl;

}